import 'package:flutter/material.dart';

import '../../utils/ImageUtil.dart';

class AboutPage extends StatelessWidget {
  const AboutPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("关于APP"),
      ),
      body: SafeArea(
        child: Column(
          children: [
            Expanded(
                child: Column(
              children: [
                const SizedBox(
                  height: 20,
                ),
                loadAssetImage("icon", width: 100, height: 100),
                const SizedBox(
                  height: 20,
                ),
                const Padding(
                  padding: EdgeInsets.symmetric(horizontal: 15),
                  child: Text(
                    "一款记录你日常租用物品的app，帮助你记录租用的物品名、时间、价格等，并有到期提醒功能。",
                    textAlign: TextAlign.center,
                    style: TextStyle(height: 2),
                  ),
                )
              ],
            )),
          ],
        ),
      ),
    );
  }
}
